from scipy import integrate

import numpy as np

x = np.arange(0, 3)
print(x)

y = np.arange(0, 3)

result=integrate.simpson(y, x=x)

print(result)
